import { ILoginState } from "./login/types"
import { ISystemState } from "./main/system/type"
import { IEcharts } from "./main/analysis/type"
export interface IRootState {
    // name:string,
    // age:number,
    roleList:any[],
    departmentList:any[],
    menuList:any[]
}

export interface IRootWithModule {
    login:ILoginState
    system:ISystemState
    analysis:IEcharts
}

//将两个接口模型连接起来，形成新的接口模型进行导出
export type IStoreType = IRootState & IRootWithModule